<%@ page contentType="text/html;charset=UTF-8"%>
<%@include file="taglibs.jsp"%>

<s:if test="#session['current_user']==null">
	<a href="account/login">登录</a> | <a href="account/signup">注册</a>
</s:if>
<s:else>
	<s:hidden id="userid" value="%{#session['current_user'].id}"></s:hidden>
	<a href="user/<s:property value="#session['current_user'].id" />">
		<s:property value="#session['current_user'].name" /> </a>
		 | <a href="account/logout">退出</a>
</s:else>



